package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallback.LikedClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * TODO
 *
 * @Author whx
 * @Date 2025/1/3 16:59
 */
@FeignClient(value = "remark-service", fallbackFactory = LikedClientFallback.class)
public interface LikedClient {

    /**
     * 查询当前用户所点赞的数据id
     * @param bizIds
     * @return
     */
    @GetMapping("/list")
    List<Long> likedBizList(@RequestParam("bizIds") List<Long> bizIds);

}
